<template>
  <el-tabs v-model="activeName">
    <el-tab-pane label="作业管理" name="1">
      <Homework />
    </el-tab-pane>
    <el-tab-pane label="考试管理" name="2">
      <Test />
    </el-tab-pane>
  </el-tabs>
</template>
<script>
export default {
  components: {
    Homework: () => import('./homework/Layout.vue'),
    Test: () => import('./test'),
  },
  data() {
    return {
      activeName: '1',
    }
  },
  methods: {},
}
</script>